<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script src="lib/react.development.js"></script>
  <script src="lib/react-dom.development.js"></script>
  <script src="lib/babel.min.js"></script>
</head>
<body>
<div id="root"></div>
</body>
<script type="text/babel">
  const root = ReactDOM.createRoot(document.querySelector("#root"));
  const obj = {
    a:1,
    b:2,
    c:3
  }
  function App(){
    return (
            <div>
              <h3>App1</h3>
              <Child {...obj} adc={123}></Child>
              <Child {...{...obj,...{abc:123}}}></Child>
            </div>
    )
  }
  function Child(props){
    console.log(props)
    return (
            <div>
              <p>Child</p>
            </div>
    )
  }
  root.render(<App/>)
</script>
</html>